package com.momo.hr.bean;

import java.util.Date;

public class ChatMessage {
    //消息的来源地址
    private String form;
    //消息的发送地址
    private String to;
    //消息的内容
    private String content;
    //消息发送的时间
    private Date date;
    //消息是那个用户名称 发来的 而不是username
    private String fromNickName;

    public String getFromNickName() {
        return fromNickName;
    }

    public void setFromNickName(String fromNickName) {
        this.fromNickName = fromNickName;
    }

    public String getForm() {
        return form;
    }

    public void setForm(String form) {
        this.form = form;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}
